package com.demo.java.pattern.stratege;

import org.springframework.stereotype.Service;

@Service
@OrderHandlerType(source = "mobile", payment = "wechat")
public class MobileWechatOrderPayHandlerImpl implements OrderPayHandler {
    @Override
    public void handle(Order order) {
        System.out.println("mobile wechat order handler");
    }
}
